# -*- coding: utf-8 -*-
# Author:   $Author: merkosh $
# Revision: $Rev: 34 $

# AMC File Specification v3.3
# created by Uwe Mayer
# see http://moviecatalog.ansysoft.com for AMC Movie Catalogue

Suffix: .amc


General
-------

<file identification>
(<name:string>, <mail:string>, <icq:string>, <site:string>, <description:string>)
[<movie entry>, ...]



Pascal Strings
--------------

Pascal and Delphi strings are one-byte length terminated strings and have
the following format:

<length:32-bit unsigned integer><string data:bytes[<length>]>



<movie entry>
-------------

Version 3.3 has the following record fields for a movie entry:

<number:integer>           # sequencial index
<date:integer>		   # ?? - no clue... timestamp? bcd?
<rating:integer>	   # 0..10
<year:integer>
<length:integer>	   # length in minutes
<video bitrate:integer>
<audio bitrate:integer>
<disks:integer>

<checked:boolsize>	   # ?? 

<media label:string>
<media type:string>
<source:string>
<borrower:string>
<original title:string>
<translated title:string>
<director:string>
<producer:string>
<country:string>
<category:string>
<actors:string>
<url:string>
<description:string>
<comments:string>
<video format:string>
<audio format:string>
<resolution:string>
<framerate:string>
<languages:string>
<subtitles:string>
<file size:string>
<picture:string>		# file suffix or path to image
<embedded image:picture>	# binary image data (.jpg, .png, .gif) as is!


<date>
------

Number of days from 1900.



<boolean>
---------

One Byte value: 1=true, 0=false



<picture>
---------

Identical to the pascal string format.